import request from '@/utils/request'

/**
 * 分页查询
 * @param {查询条件} data
 */
export function listReportDustTemp(query) {
  return request({
    url: 'dust/ReportDustTemp/list',
    method: 'get',
    params: query,
  })
}

/**
 * 新增
 * @param data
 */
export function addReportDustTemp(data) {
  return request({
    url: 'dust/ReportDustTemp',
    method: 'post',
    data: data,
  })
}
/**
 * 修改
 * @param data
 */
export function updateReportDustTemp(data) {
  return request({
    url: 'dust/ReportDustTemp',
    method: 'PUT',
    data: data,
  })
}
/**
 * 获取详情
 * @param {Id}
 */
export function getReportDustTemp(id) {
  return request({
    url: 'dust/ReportDustTemp/' + id,
    method: 'get'
  })
}

/**
 * 删除
 * @param {主键} pid
 */
export function delReportDustTemp(pid) {
  return request({
    url: 'dust/ReportDustTemp/delete/' + pid,
    method: 'delete'
  })
}
